package com.oss.entity.oss;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.oss.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "dividend_manage")
public class DividendManage extends BaseEntity {
    // ID
    @TableId(value = "id")
    private String id;
    // 分红有效日期-开始
    private LocalDate dateStart;
    // 分红有效日期-结束
    private LocalDate dateEnd;
    // 现金金额
    private BigDecimal cash;
    // 重心币份额
    private BigDecimal coreCoin;
    // 备注
    private String remark;
}